package com.candy.util;

import com.candy.service.IAccountService;
import com.candy.service.impl.AccountSerivceImpl;

/**
 * 模拟静态工厂
 */
public class StaticFactroy {
    /**
     * 静态方法，用于bean对象创建并返回
     * @return
     */
    public static IAccountService getAccountService(){
        return new AccountSerivceImpl();
    }



}
